<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ page import="com.apexsoft.monitor.common.MonitorConstant" %>
<%@ page import="com.alibaba.fastjson.*" %>
<%@page import="com.apexsoft.front.common.config.CommonConfig"%>
<%@page import="com.apexsoft.front.common.utils.session.UserSessionNoRedis" %>
<%@page import="com.apexsoft.monitor.utils.StringUtil" %>
<%
    String contextPath = request.getContextPath();
    JSONObject userInfo = UserSessionNoRedis.getSessionObj(request, UserSessionNoRedis.CONSOLE_SESSION);//客户信息
    boolean global_editable = false;
    if (userInfo != null) {

        JSONObject userAttr = JSONObject.parseObject(userInfo.getString("attr") == null ? "{}" : userInfo.getString("attr"));
        if (userAttr.getString("editable") != null && userAttr.getString("editable").equals("1")) {
            global_editable = true;
        }
    }
    String RANDOM = Math.random() + "";
%>
<script type="text/javascript" src="<%=contextPath%>/js/common/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/common/jquery/json2.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/common/jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/common/plug-in/layer-v2.1/layer.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/common/utils/date.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/common/utils/JsonUti.js"></script>
<script type="text/javascript"
        src="<%=contextPath%>/js/common/plug-in/layer-v2.1/apex_layer.js?random=<%=RANDOM%>"></script>
<script type="text/javascript" src="<%=contextPath%>/js/common/jquery/jquery_ajax.js"></script>

<script type="text/javascript" src="<%=contextPath%>/js/console/esb-js.js"></script>

<script type="text/javascript" src="<%=contextPath%>/js/common/jquery-easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/common/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/common/jquery-easyui/jquery.easyui.ext.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/common/jquery-easyui/datagrid-groupview.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="0">

<!-- easyui样式放在自定义样式文件前面, 保证自定义样式优先级较高 -->
<link rel="stylesheet" type="text/css"
      href="<%=contextPath%>/js/common/jquery-easyui/themes/material/easyui.css?random=<%=RANDOM%>"/>
<link rel="stylesheet" type="text/css"
      href="<%=contextPath%>/js/common/jquery-easyui/themes/color.css?random=<%=RANDOM%>"/>
<link rel="stylesheet" type="text/css" href="<%=contextPath%>/js/common/jquery-easyui/themes/icon.css"/>

<link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/console/esb-main.css?random=<%=RANDOM%>"/>
<link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/iconfont/iconfont.css"/>
<script>
    var contextPath = '<%=contextPath%>';
    var global_editable = <%=global_editable%>;
</script>